package com.hjx.movie.core.system.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hjx.movie.persistence.system.model.IvyUserRole;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * <p>Title:</p>
 * <p>Description:</p>
 *
 * @author hjx
 * @date 2021/1/27 - 17:20
 */
public interface IUserRoleService extends IService<IvyUserRole> {
    Set<Long> findCheckedRoleIds(Long userId);
    Map<String,Object> findCheckedAndRoleIds(Long userId);
    boolean addOrDeleteUserRole(Long userId, Set<Long> roleIds);
}
